/dobj/ {
	print("INSERT INTO table_map_dataobjects_to_attributes_via_rowid (dataobject_rowid, attr_rowid) VALUES ('" $2 "','" $3 "=" $4 "');");
	print("INSERT INTO receivedDataobjects (dataobjectId, device) VALUES ('" $2 "', '" device "');");
}

/node/ {
	print("INSERT INTO table_map_nodes_to_attributes_via_rowid (node_rowid, attr_rowid, weight) VALUES ('" $2 "','" $3 "=" $4 "'," $5 ");");
}